package com.example.zuoye.mvp.contract;

import com.example.mylibrary.mvp.model.IModel;
import com.example.mylibrary.mvp.view.IView;
import com.example.zuoye.bean.PostBodyBean;
import com.example.zuoye.bean.TagTravel;
import com.example.zuoye.bean.UserBean;

import java.util.List;

import io.reactivex.Observer;

public interface  PostContract{
    interface Model extends IModel {
        void requestBody(Observer<List<PostBodyBean>> observer);
        void requestForm(Observer<List<TagTravel>> observer);
    }
    interface View extends IView {
        void initForm(List<TagTravel> list);
        void initBody(List<PostBodyBean> list);
    }
}
